package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("allocation_warehouse_enter")
@ApiModel(value="调拨入库对象")
public class AllocationWarehouseEnter {

    @TableId(value = "allocation_warehouse_enter_id", type = IdType.AUTO)
    private Integer allocation_warehouse_enter_id;

    @ApiModelProperty(value = "调拨出库单ID 外键")
    @TableField("allocation_warehouse_out_id")
    private Integer allocation_warehouse_out_id;

    @ApiModelProperty(value = "调拨入库人员")
    @TableField("allocation_warehouse_enter_staff")
    private String allocation_warehouse_enter_staff;

    @ApiModelProperty(value = "调拨入库状态1:未处理   2:处理中   3:已入库")
    @TableField("allocation_warehouse_enter_type")
    private Integer allocation_warehouse_enter_type;


    @ApiModelProperty(value = "入库备注")
    @TableField("allocation_warehouse_enter_remarks")
    private String allocation_warehouse_enter_remarks;

    @TableField(exist = false)
    private AllocationWarehouseOut allocationWarehouseOut;
}
